export default function (
  responseBody,
  // { code, message }: { code?: number; message?: string } = {
  //   code: 0,
  //   message: "success",
  // },
  { code = 0, message = "success" }: { code?: number; message?: string } = {},
) {
  return {
    code,
    data: responseBody,
    status: 200,
    message,
  };
}
